<?php
declare (strict_types = 1);

namespace app\common\enum;

// 预约表单类型
class FormType extends EnumBasics
{
    // 新车入户
    const REGISTER = 10;

    // 二手车过户
    const TRANSFER = 20;

    // 免费评估
    const ASSESSMENT = 30;

    public static function data()
    {
        return [
            self::REGISTER => [
                'name' => '新车入户',
                'value' => self::REGISTER,
            ],
            self::TRANSFER => [
                'name' => '二手车过户',
                'value' => self::TRANSFER,
            ],
            self::ASSESSMENT => [
              'name' => '免费评估',
              'value' => self::ASSESSMENT,
          ],
        ];
    }

}